-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: merge new token managers #255
feat: merge new token managers #255
Conversation
* added new token managers that have the mint/burn permissions. * added a few tests * a few more tests * removed mint/burn from legacy * rename INTERCHAIN_TOKEN to INTERCHAIN_TOKEN_MINT_BURN * remove unused import and prettier * some more renaming * rever * added some docstrings * prettier * chore: restrict custom token manager deployments (#3) * some styling * fixed revert * fixed some docs * bump package version * restrict remote token manager deployment * rename MINT_BURN_FROM to CUSTOM_MINT_BURN_FROM * prettier * add comments to TokenManagerType * rename token manager types * update docs * refactor(TokenManager): simplification (#4) * refactor(TokenManager): simplification * refactor(TokenManager): unused import * update doc --------- Co-authored-by: Milap Sheth <[email protected]> Co-authored-by: re1ro <[email protected]>
…new-token-managers
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #255 +/- ##
==========================================
- Coverage 98.70% 97.65% -1.06%
==========================================
Files 16 16
Lines 541 554 +13
Branches 107 111 +4
==========================================
+ Hits 534 541 +7
- Misses 2 5 +3
- Partials 5 8 +3 ☔ View full report in Codecov by Sentry. |
…new-token-managers
function giveToken( | ||
uint256 tokenManagerType, | ||
address tokenAddress, | ||
address tokenManager, | ||
address to, | ||
uint256 amount | ||
) external payable returns (uint256) { | ||
function giveToken(bytes32 tokenId, address to, uint256 amount) external payable returns (uint256, address) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you make these new changes in a separate PR? This PR should be a simple cherry pick of the fix. Makes it easier to audit as well.
Was the issue bytecode size? if so, you can point this PR on the other PR that adds the bytecode fix but keep the token handler refactor separate?
Co-authored-by: Milap Sheth <[email protected]>
No description provided.